package com.rs.game.player.actions;

import com.rs.game.WorldTile;
import com.rs.game.player.Player;
import com.rs.game.player.content.Magic;

	public class DonatorActions {
		
		public static final WorldTile DONATOR_ZONE = new WorldTile(5888, 4673, 1);
		
		public static void checkDonator(Player player) {
			if (player.isDonator()) {
				Magic.sendNormalTeleportSpell(player, 0, 0, DONATOR_ZONE);
				player.getPackets().sendGameMessage("Welcome to the donator zone! Thanks for your support.");
			} else {
				player.getPackets().sendGameMessage("You must be a donator to go there.");
			}
		}
	}

